package com.shenyi.wx.api;

import com.shenyi.wx.entity.CouponDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/06
 * @desc 优惠卡卷
 * @see
 * @since 1.0
 */
public interface IApiCouponService {


     CouponDO queryObject(Integer couponId);

     List<CouponDO> queryList(Map<String, Object> map);

     int queryTotal(Map<String, Object> map);


     void save(CouponDO UserDO);

     void update(CouponDO user);

     void delete(Long userId);

    void deleteBatch(Long[] userIds);

    List<CouponDO> queryUserCoupons(Map<String, Object> map);

     CouponDO queryMaxUserEnableCoupon(Map<String, Object> map);

     List<CouponDO> queryUserCouponList(Map<String, Object> map);
}
